package com.chancingpack.dal.dao;

import com.chancingpack.dal.model.WxRole;
import com.chancingpack.dal.model.WxRoleExample;


import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/7/17.
 */
public interface WxRoleDao {
    boolean insertRecord(WxRole record);

    boolean updateRecord(WxRole record);

    boolean deleteRecord(String roleId);

    WxRole getLastRecord();

    List<WxRole> getListByExample(WxRoleExample example);

    List<WxRole> getListByMap(Map<String,Object> map);
}
